﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;

namespace JieBooLaw.WebSite
{
    using JieBooLaw.Service;
    using JieBooLaw.Domain;
    using JieBooLaw.Common.Web.Util;

    public partial class Test : System.Web.UI.Page
    {
        protected void Page_Load(object sender, EventArgs e)
        {
            TInfoRelease_InfoSvc svc = new TInfoRelease_InfoSvc();
            IList<TInfoRelease_Info> entity = svc.GetAllList();
            ScriptUtil.RegisterStartupScript("alert('" + entity.Count() + "');");
        }
    }
}
